<%@ page language="java" pageEncoding="UTF-8"%>
<%@ page import="java.util.*"%>
<%@ page import="com.fc.util.*" %>
<%@ page import="com.fc.model.Member" %>
<%@ page import="com.fc.control.MemberControl" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>member_delete_do</title>
	</head>

	<body>
		<%
  		int id=ParamUtil.getInt(request,"id");
  		if(MemberControl.deleteMember(id))
    		{
        %>
        <script language="javascript">
        alert("删除成功!");
        window.location.href="member.jsp";
        </script>
		<%} else { %>
		<script language="javascript">
        alert("删除失败!");
        window.location.href="member.jsp";
        </script>
        <%} 
        %>
  	
	</body>
</html>
